#!/usr/bin/node

const Writable = require('stream').Writable;


function GreenStream(){
  Writable.call(this);
  this._write = (chunk,encoding,callback)=>{
    process.stdout.write('\033[1;36m' + chunk + '\033[1;36m');
    callback();
  };
}

GreenStream.prototype = Writable.prototype;
process.stdin.pipe(new GreenStream());
